<?php
// no direct access
defined('_JEXEC') or die('Restricted access');


// Carica Modulo html Frontale
require_once (JApplicationHelper :: getPath('front_html', 'com_totemtoo'));


$modo = JRequest::getVar('modo', 'continuo');
$codice = JRequest::getVar('richiesta');

if ($codice)  {
	JRequest::setVar('task','richiesta');	
}

$task = JRequest::getVar('task');

switch ($task) {
	case 'show': 
		totem_HTML::show($modo);
		break;
	case 'richiesta':
		totem_HTML::richiesta($codice);
		break;
	default:
		totem_HTML::show($modo);
		break;
}
?>

